@extends('auth.assets.master')

@section('page-title', '找回密码')

@section('page-content')
    <!-- BEGIN REGISTER FORM -->
    <form class="form-horizontal login-form" action="{{ url('/backend/password/email') }}" method="post">
        <h3 class="form-title">Forget Password ?</h3>
        <p>Enter your e-mail address below to reset your password: </p>
        <div class="alert alert-error hide">
            <button class="close" data-dismiss="alert"></button>
            <span>Enter any username and password.</span>
        </div>
        <div class="form-group">
            <label for="email" class="control-label sr-only">Email</label>
            <div class="control-input">
                <span class="glyphicon glyphicon-envelope"></span>
                <input type="text" class="form-control form-input input-icon" name="email" id="email" placeholder="Email"/>
            </div>
        </div>
        {{ csrf_field() }}
        <div class="form-actions border-bottom-none">
            <div class="btn-actions">
                <a id="register-back-btn" type="button" class="btn" href="{{ URL::previous() }}">
                    <span class="glyphicon glyphicon-circle-arrow-left"></span>  Back
                </a>
                <button type="submit" id="register-submit-btn" class="btn green pull-right">
                    Submit <span class="glyphicon glyphicon-circle-arrow-right"></span>
                </button>
            </div>
        </div>
    </form>
    <!-- END REGISTRATION FORM -->


    <!-- BEGIN FORGOT PASSWORD FORM -->
    <!--
    <form class="form-vertical forget-form" action="index.html">
        <h3 class="">Forget Password ?</h3>
        <p>Enter your e-mail address below to reset your password.</p>
        <div class="control-group">
            <div class="controls">
                <div class="input-icon left">
                    <i class="icon-envelope"></i>
                    <input class="m-wrap placeholder-no-fix" type="text" placeholder="Email" name="email" />
                </div>
            </div>
        </div>
        <div class="form-actions">
            <button type="button" id="back-btn" class="btn">
                <i class="m-icon-swapleft"></i> Back
            </button>
            <button type="fullsubmit" class="btn green pull-right">
                Submit <i class="m-icon-swapright m-icon-white"></i>
            </button>
        </div>
    </form>
    ->
    <!-- END FORGOT PASSWORD FORM -->
@endsection